x86/p2m: p2m_flags_to_type() deals only with "unsigned int"
authorJan Beulich <jbeulich@suse.com>
Fri, 21 Feb 2020 16:16:25 +0000 (17:16 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 21 Feb 2020 16:16:25 +0000 (17:16 +0100)
commita446a330117998a655e76c2e05ea46c01d365516
tree77b7c59c61221b709a0e31f51b7b2f798969400a
parent578f90e3e5e7075e93caeb35625be820e618e856
x86/p2m: p2m_flags_to_type() deals only with "unsigned int"

PTE flags, for now at least, get stored in "unsigned int". Hence there's
no need to widen the values to "unsigned long" before processing them.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/p2m.h